import xlrd

name='2019新型冠'
data = xlrd.open_workbook(name+'.xls')
table = data.sheet_by_name('Sheet1')

yMax=4
xMax=131

def getCell(x,y):
    return table.cell(x, y).value

def writeFile(filePath, content):
    print('Write info to file:Start...')
    # 将文件内容写到文件中
    with open(filePath, 'a', encoding='utf-8') as f:
        f.write(content)
        print('Write info to file:end...')

def readFile(filepath):
    f=open(filepath,'r')
    return f.read()